/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2023-present Kaleidos INC
*/

@import url("tools/animations.css");

:host {
  --white: 255, 255, 255;

  display: block;
}

.card-skeleton {
  background-color: rgba(var(--white), 0.25);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-12);
  max-inline-size: 230px;
  min-block-size: 122px;
  padding: var(--spacing-12);
}

.row {
  block-size: 1rem;
  display: flex;
  gap: var(--spacing-12);

  &.space-between {
    justify-content: space-between;
  }
}

:is(.avatar, .line) {
  @mixin pulseAnimation;
}

.avatar {
  aspect-ratio: 1/1;
  background: var(--color-gray20);
  inline-size: 1rem;
}

.line {
  background: var(--color-gray20);
  border-radius: 4px;
  display: block;
}
